Repository navigation
feat(doop): agent frame writes cannot overlap another frame (CHE-6119) - #59
Merged
congvc-bot-x99[bot] merged 2 commits intoNov 17, 2026
Conversation
create_frame at an overlapping x/y lands in free space. update_frame refuses a move or resize onto another frame and names the free spot. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…(CHE-6119) create_frame with only x or only y now resolves the store default before the overlap check. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
congvc-bot-x99
Bot
deleted the
agent/x99-claude-sonnet-design/che-6119-577f6ca6bcac
branch
November 17, 2026 13:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
CHE-6119: agent writes can no longer leave two frames overlapping on a doop page. The check runs inside the doop server at the write, so direct MCP calls cannot bypass it (the gap behind the open P1 on multica-dotfiles PR #799).
server/frameLayout.ts:conflicts(intersect or closer than 40px; hidden frames ignored) andfreeSpot(left edge of the page, 80px below the lowest frame).actions.createFrame, agent actors only: an explicit x/y that would sit on another frame is replaced by free space. MCPcreate_framereturns aplacementnote.update_frame: a move, resize or page change that would overlap is refused with the conflicting frame ids and the free spot. A rename or lock always passes. Humans in the editor are unchanged.tests/frameApproval.test.ts: the agent resize now grows height (a width of 900 would hit the neighbouring frame, which is now refused).Test-first evidence (observed)
New
tests/frameOverlapGuard.test.ts, end to end through a real server and an MCP agent client.Red, guard reverted in
server/actions.tsandserver/mcp.ts:Green, guard restored:
Tests 4 passed (4).Also run:
tests/frameApproval,mcp-tools,frameLockActivity,agentToolParity,ingest,community,importCanvasExport,firstCanvasLandingpass.bun run typecheck,lintandformat:checkpass. The fullvitest runon this X99 box shows load-related failures in browser tests (*Browser.test.ts,drawingBrowser) that I did not compare against base; the non-browser ones that failed there pass when run alone.Not in this PR
Pages already overlapping stay as they are. Frames created in the editor by a person are not moved. Resident (in-app) agent
create_framegoes throughactions.createFrame, so it gets the same relocation.🤖 Generated with Claude Code